Full-Stack

Welcome Portfolio Projects Contact
↑ Go Back ↑

GRUB

GRUB

Reinstall GRUB

When your computer can't find your current GRUB installation, you can reinstall it with:

$ grub-install /dev/sda

Update boot sources

You can update the GRUB menu with:

$ sudo update-grub

Create custom GRUB menu entry

When update-grub can't find your boot source, you can add custom boot entries with:

$ sudo vim /etc/grub.d/40_custom

Customize the GRUB menu

Install the PPA with the latest release of the GRUB Customizer:

sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer

Among the GRUB Customizer features are:

  • Edit the menu entries (reorder, rename, add or remove entries)
  • Edit the contents of menu entries or create new ones (internally it edits the 40_custom)
  • Change the default boot entry
  • Change menu visibility and timeout
  • Disable recovery entries
  • Change GRUB resolution, menu colors or background image
  • GRUB repair & configuration using a Live CD
  • Advanced options like booting an ISO, changing kernel parameters and lots more